const arrPop:number[] = [6,5,7,1,8,5,7]

arrPop.forEach((item,index)=>{
    arrPop.forEach((it:any,ind:number)=>{
        if(arrPop[ind] <arrPop[ind+1]){
            const temp = it
            
        }
    })
})

